package com.neu.wms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName wms_item
 */
@Data
public class WmsItem implements Serializable {
    private Long id;

    private String itemCode;

    private String itemName;

    private String itemType;

    private String unit;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date expiryDate;

    private Integer delFlag;

    private String remark;

    private static final long serialVersionUID = 1L;

}